package com.calmcar.adas.apiserver.model;

/**
 * 矩形图像区域
 */

public class AdasRect {
    /**
     *
     * @param t1   t1  区域左上顶点
     * @param br   br  区域右下顶点
     */
    public AdasRect(AdasPoint t1, AdasPoint br) {
        this.t1 = t1;
        this.br = br;
    }

    public AdasPoint getT1() {
        return t1;
    }

    public void setT1(AdasPoint t1) {
        this.t1 = t1;
    }

    public AdasPoint getBr() {
        return br;
    }

    public void setBr(AdasPoint br) {
        this.br = br;
    }

    private AdasPoint t1;
    private AdasPoint br;

    public double getAbsDis() {
        return absDis;
    }

    public void setAbsDis(double absDis) {
        this.absDis = absDis;
    }

    /**
     * 绝对距离
     */
    private double  absDis;

    public boolean isShowDis() {
        return showDis;
    }

    public void setShowDis(boolean showDis) {
        this.showDis = showDis;
    }

    /**
     * 是否显示距离
     */
    private boolean showDis=true;



}
